#pragma once

#include <d3d9.h>
#pragma comment(lib, "d3d9.lib")
#include <d3dx9.h>
#pragma comment(lib, "d3dx9.lib")
#include <dxerr.h>
#pragma comment(lib, "dxerr.lib")

#ifdef _DEBUG
#ifndef HR

#define HR(x)					\
{								\
	HRESULT hr = x;				\
	if (FAILED(hr))				\
{							\
	DXTRACE_ERR(#x, hr);	\
	DebugBreak();			\
}							\
}
#endif
#else
#ifndef HR
#define HR(x) x;
#endif
#endif

#include "Extra Structs.h"
